import request from "../utils/request"
import logRequest from '../utils/requestNoToken'
// 人才库分页
export const talentInfo = query => {
    return request.post('/zsrencai/api/company/resume/list/page', query)
}
// 字典
// 学历
export const education = () => {
    return request.get('/zsrencai/api/sys/admin/dict/find/education')
}
// 工作经验
export const work_exp = () => {
    return request.get('/zsrencai/api/sys/admin/dict/find/work_exp')
}
// 地区
export const area = () => {
    return request.get('/zsrencai/api/sys/admin/dict/find/area')
}
// 行业
export const jobList = () => {
    return logRequest.get('/zsrencai/api/sys/admin/tc/find/tree')
}

// 二期 ：查看简历
export const resumeViewPage = query => {
    return request.post('/zsrencai/api/company/resume/resume-view/page', query)
}


// 二期 ：收藏简历
export const insertResumeCollect = query => {
    return request.post('/zsrencai/api/company/resume-collect/insert/resume-collect', query)
}
// 高校毕业专区 /zsrencai/api/company/resume/graduates-resume
export const graduatesResume = query=>{
    return request.get('/zsrencai/api/company/resume/graduates-resume',{params:query})
}
